package com.mall.service.marketing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.commons.common.CommonPage;
import com.mall.model.domain.SmsCoupon;
import com.mall.model.dto.SmsCouponDto;

public interface SmsCouponService extends IService<SmsCoupon> {
    void create(SmsCouponDto smsCouponDto);
    void deleteOne(Long id);

    CommonPage getAll(String name, Integer pageNum, Integer pageSize, Integer type);


    void updateOne(Long id, SmsCouponDto smsCouponDto);

    SmsCouponDto findOne(Long id);
}
